package com.zhima.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhima.enums.ContestType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ContestListVO {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;
    private String title;
    private ContestType type;
    private Date beginTime;
    private Date endTime;
    private Boolean isBegin;
    private Boolean isEnd;
    private String holderName;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long holderId;

    private Integer questionNum;
}
